package com.zyf.mvc.service.impl;

import com.zyf.mvc.mapper.ZyfMenuMapper;
import com.zyf.mvc.pojo.ZyfMenu;
import com.zyf.mvc.service.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by a on 2017/5/15.
 */
@Service("baseservice")
public class BaseServiceImpl  implements BaseService{
    @Autowired
    private ZyfMenuMapper zyfMenuMapper;
    public List<ZyfMenu> selectByExample() throws Exception {



        return zyfMenuMapper.selectByExample(null);
    }
}
